package com.company.test;

public class Human {

    private Integer i = 5;

    public synchronized void  sayHello(String name) throws InterruptedException {
            System.out.println(name+"say hello");
            Thread.sleep(5000);
    }
}
